package executable.instance;

import ctu.kfad.run.util.StringUtil;

public class ClassWithStringArray {

    private String[] strings;

    public String[] getStrings() {
        return strings;
    }

    public void setStrings(String[] strings) {
        this.strings = strings;
    }


    //////////static

    public static String setAndReadSimple() {
        final ClassWithStringArray classWithStringArray = new ClassWithStringArray();
        final String[] strings1 = new String[2];
        strings1[0] = "aa";
        strings1[1] = "bbb";
        classWithStringArray.setStrings(strings1);
        return StringUtil.concatenate(classWithStringArray.getStrings()[0], classWithStringArray.getStrings()[1]);
    }

}
